<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>资讯分析工具</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36CFC9',
                        accent: '#722ED1',
                        neutral: '#F5F7FA',
                        'neutral-dark': '#4E5969',
                        'neutral-light': '#C9CDD4'
                    },
                    fontFamily: {
                        inter: ['Inter', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .text-shadow {
                text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }
            .transition-custom {
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }
        }
    </style>
</head>
<body class="font-inter bg-gray-50 text-gray-800 min-h-screen flex flex-col">
    <!-- 导航栏 -->
    <nav class="bg-white shadow-md sticky top-0 z-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16">
                <div class="flex items-center">
                    <a href="/" class="flex-shrink-0 flex items-center">
                        <i class="fa fa-line-chart text-primary text-2xl mr-2"></i>
                        <span class="font-bold text-xl text-primary">资讯分析工具</span>
                    </a>
                    <div class="hidden sm:ml-6 sm:flex sm:space-x-8">
                        <a href="#" class="border-b-2 border-primary px-1 pt-1 inline-flex items-center text-sm font-medium text-primary">
                            <i class="fa fa-home mr-1"></i>首页
                        </a>
                    </div>
                </div>
                <div class="flex items-center">
                    <a href="/login" class="text-sm font-medium text-gray-700 hover:text-primary px-3 py-2 rounded-md transition-custom">
                        <i class="fa fa-sign-in mr-1"></i>登录
                    </a>
                    <a href="/register" class="ml-2 text-sm font-medium text-white bg-primary hover:bg-primary/90 px-4 py-2 rounded-md transition-custom">
                        <i class="fa fa-user-plus mr-1"></i>注册
                    </a>
                </div>
            </div>
        </div>
    </nav>

    <!-- 主要内容 -->
    <main class="flex-grow">
        <!-- 英雄区域 -->
        <section class="bg-gradient-to-br from-primary/90 to-primary py-16 md:py-24">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                <div class="text-center">
                    <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold text-white leading-tight text-shadow">
                        强大的资讯分析平台
                    </h1>
                    <p class="mt-4 text-[clamp(1rem,2vw,1.25rem)] text-white/90 max-w-3xl mx-auto">
                        一键分析网络资讯，获取有价值的洞察和趋势，助力决策与研究
                    </p>
                    <div class="mt-8 flex flex-col sm:flex-row justify-center gap-4">
                        <a href="/register" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-secondary hover:bg-secondary/90 transition-custom shadow-lg">
                            <i class="fa fa-rocket mr-2"></i>开始免费试用
                        </a>
                        <a href="#features" class="inline-flex items-center px-6 py-3 border border-white/30 text-base font-medium rounded-md text-white bg-white/10 hover:bg-white/20 transition-custom">
                            <i class="fa fa-info-circle mr-2"></i>了解更多
                        </a>
                    </div>
                </div>
            </div>
        </section>

        <!-- 功能特点 -->
        <section id="features" class="py-16 bg-white">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                <div class="text-center mb-16">
                    <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold text-gray-900">
                        强大功能，简单操作
                    </h2>
                    <p class="mt-4 text-lg text-gray-600 max-w-3xl mx-auto">
                        我们的工具集成了先进的资讯分析技术，让您轻松获取深度洞察
                    </p>
                </div>

                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                    <!-- 功能卡片 1 -->
                    <div class="bg-white rounded-xl shadow-lg p-6 transform hover:-translate-y-2 transition-custom border border-gray-100">
                        <div class="w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4">
                            <i class="fa fa-rss text-primary text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-900">智能爬取</h3>
                        <p class="mt-2 text-gray-600">
                            自动从各大资讯平台抓取热门内容，支持自定义目标网站，实时获取最新资讯。
                        </p>
                    </div>

                    <!-- 功能卡片 2 -->
                    <div class="bg-white rounded-xl shadow-lg p-6 transform hover:-translate-y-2 transition-custom border border-gray-100">
                        <div class="w-12 h-12 rounded-full bg-secondary/10 flex items-center justify-center mb-4">
                            <i class="fa fa-filter text-secondary text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-900">数据清洗</h3>
                        <p class="mt-2 text-gray-600">
                            自动过滤敏感内容，去除重复信息，处理缺失数据，确保分析结果的准确性。
                        </p>
                    </div>

                    <!-- 功能卡片 3 -->
                    <div class="bg-white rounded-xl shadow-lg p-6 transform hover:-translate-y-2 transition-custom border border-gray-100">
                        <div class="w-12 h-12 rounded-full bg-accent/10 flex items-center justify-center mb-4">
                            <i class="fa fa-bar-chart text-accent text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-900">深度分析</h3>
                        <p class="mt-2 text-gray-600">
                            基于自然语言处理技术，实现关键词提取、情感分析、主题聚类，挖掘隐藏信息。
                        </p>
                    </div>

                    <!-- 功能卡片 4 -->
                    <div class="bg-white rounded-xl shadow-lg p-6 transform hover:-translate-y-2 transition-custom border border-gray-100">
                        <div class="w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4">
                            <i class="fa fa-cloud text-primary text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-900">词云生成</h3>
                        <p class="mt-2 text-gray-600">
                            直观展示文本中高频词汇的分布，帮助您快速把握内容重点和热点趋势。
                        </p>
                    </div>

                    <!-- 功能卡片 5 -->
                    <div class="bg-white rounded-xl shadow-lg p-6 transform hover:-translate-y-2 transition-custom border border-gray-100">
                        <div class="w-12 h-12 rounded-full bg-secondary/10 flex items-center justify-center mb-4">
                            <i class="fa fa-line-chart text-secondary text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-900">动态可视化</h3>
                        <p class="mt-2 text-gray-600">
                            通过交互式图表和时间轴，动态展示话题热度变化，让数据更加生动直观。
                        </p>
                    </div>

                    <!-- 功能卡片 6 -->
                    <div class="bg-white rounded-xl shadow-lg p-6 transform hover:-translate-y-2 transition-custom border border-gray-100">
                        <div class="w-12 h-12 rounded-full bg-accent/10 flex items-center justify-center mb-4">
                            <i class="fa fa-database text-accent text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-900">数据导出</h3>
                        <p class="mt-2 text-gray-600">
                            支持多种格式的数据导出，方便与其他工具集成，满足您的个性化分析需求。
                        </p>
                    </div>
                </div>
            </div>
        </section>

        <!-- 工作流程 -->
        <section class="py-16 bg-neutral">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                <div class="text-center mb-16">
                    <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold text-gray-900">
                        简单三步，获取洞察
                    </h2>
                    <p class="mt-4 text-lg text-gray-600 max-w-3xl mx-auto">
                        无需复杂操作，轻松获取专业级的资讯分析结果
                    </p>
                </div>

                <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                    <!-- 步骤 1 -->
                    <div class="bg-white rounded-xl shadow-md p-6 relative">
                        <div class="absolute -top-4 -left-4 w-10 h-10 rounded-full bg-primary text-white flex items-center justify-center font-bold text-lg">1</div>
                        <h3 class="text-xl font-semibold text-gray-900 mt-2">输入网址</h3>
                        <p class="mt-3 text-gray-600">
                            只需输入您感兴趣的资讯网站URL，我们的系统将自动开始爬取内容。
                        </p>
                        <div class="mt-4 h-48 bg-gray-100 rounded-lg overflow-hidden">
                            <img src="https://picsum.photos/seed/step1/400/300" alt="输入网址界面" class="w-full h-full object-cover">
                        </div>
                    </div>

                    <!-- 步骤 2 -->
                    <div class="bg-white rounded-xl shadow-md p-6 relative">
                        <div class="absolute -top-4 -left-4 w-10 h-10 rounded-full bg-secondary text-white flex items-center justify-center font-bold text-lg">2</div>
                        <h3 class="text-xl font-semibold text-gray-900 mt-2">等待分析</h3>
                        <p class="mt-3 text-gray-600">
                            系统将自动完成内容爬取、数据清洗和深度分析，无需人工干预。
                        </p>
                        <div class="mt-4 h-48 bg-gray-100 rounded-lg overflow-hidden">
                            <img src="https://picsum.photos/seed/step2/400/300" alt="数据分析过程" class="w-full h-full object-cover">
                        </div>
                    </div>

                    <!-- 步骤 3 -->
                    <div class="bg-white rounded-xl shadow-md p-6 relative">
                        <div class="absolute -top-4 -left-4 w-10 h-10 rounded-full bg-accent text-white flex items-center justify-center font-bold text-lg">3</div>
                        <h3 class="text-xl font-semibold text-gray-900 mt-2">查看结果</h3>
                        <p class="mt-3 text-gray-600">
                            通过直观的图表和报告，查看分析结果，获取有价值的行业洞察。
                        </p>
                        <div class="mt-4 h-48 bg-gray-100 rounded-lg overflow-hidden">
                            <img src="https://picsum.photos/seed/step3/400/300" alt="分析结果展示" class="w-full h-full object-cover">
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 调用行动 -->
        <section class="py-16 bg-primary">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
                <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold text-white">
                    立即开始您的资讯分析之旅
                </h2>
                <p class="mt-4 text-lg text-white/90 max-w-3xl mx-auto">
                    注册账号，免费体验强大的资讯分析功能，获取行业洞察
                </p>
                <div class="mt-8 flex flex-col sm:flex-row justify-center gap-4">
                    <a href="/register" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-primary bg-white hover:bg-white/90 transition-custom shadow-lg">
                        <i class="fa fa-user-plus mr-2"></i>免费注册
                    </a>
                    <a href="#" class="inline-flex items-center px-6 py-3 border border-white/30 text-base font-medium rounded-md text-white bg-white/10 hover:bg-white/20 transition-custom">
                        <i class="fa fa-question-circle mr-2"></i>查看帮助
                    </a>
                </div>
            </div>
        </section>
    </main>

    <!-- 页脚 -->
    <footer class="bg-gray-900 text-white py-12">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-lg font-semibold mb-4">资讯分析工具</h3>
                    <p class="text-gray-400">
                        强大的资讯分析平台，帮助您快速获取有价值的信息和行业洞察。
                    </p>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">功能</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">数据爬取</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">内容分析</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">词云生成</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">趋势可视化</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">支持</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">帮助中心</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">API文档</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">使用教程</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">联系我们</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">关注我们</h3>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-custom">
                            <i class="fa fa-weibo text-xl"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-custom">
                            <i class="fa fa-wechat text-xl"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-custom">
                            <i class="fa fa-github text-xl"></i>
                        </a>
                    </div>
                    <p class="mt-4 text-gray-400">
                        订阅我们的通讯，获取最新功能更新
                    </p>
                    <form class="mt-2">
                        <div class="flex">
                            <input type="email" placeholder="您的邮箱" class="px-3 py-2 bg-gray-800 border border-gray-700 rounded-l-md focus:outline-none focus:ring-1 focus:ring-primary text-white w-full">
                            <button type="submit" class="bg-primary hover:bg-primary/90 text-white px-4 py-2 rounded-r-md transition-custom">
                                订阅
                            </button>
                        </div>
                    </form>
                </div>
            </div>
            <div class="mt-8 pt-8 border-t border-gray-800 text-center text-gray-500">
                <p>© 2025 资讯分析工具. 保留所有权利.</p>
            </div>
        </div>
    </footer>
</body>
</html>    